package cn.glutnn.auth.application.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 权限表(AuthPermission)表实体类
 *
 * @author msh
 * @since 2025-01-14 13:43:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("auth_permission")
public class AuthPermissionDTO {
    //主键
    @TableId
    private Long id;

    //权限名称
    private String name;
    //父id
    private Long parentId;
    //权限类型 0菜单 1操作
    private Integer type;
    //菜单路由
    private String menuUrl;
    //状态 0启用 1禁用
    private Integer status;
    //展示状态 0 展示 1隐藏
    private Integer show;
    //图标
    private String icon;
    //权限唯一标识
    private String permissionKey;

}

